package pojo;

import java.util.Date;

public class Comment {
    private String commentid;

    private String parkingId;

    private String userId;

    private Date commenttime;

    private String content;

    public Comment(String commentid, String parkingId, String userId, Date commenttime, String content) {
        this.commentid = commentid;
        this.parkingId = parkingId;
        this.userId = userId;
        this.commenttime = commenttime;
        this.content = content;
    }

    public Comment() {
        super();
    }

    public String getCommentid() {
        return commentid;
    }

    public void setCommentid(String commentid) {
        this.commentid = commentid == null ? null : commentid.trim();
    }

    public String getParkingId() {
        return parkingId;
    }

    public void setParkingId(String parkingId) {
        this.parkingId = parkingId == null ? null : parkingId.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Date getCommenttime() {
        return commenttime;
    }

    public void setCommenttime(Date commenttime) {
        this.commenttime = commenttime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}